Dynamical Obstacle Avoidance In Human Robot Collaboration